#include <header.h>

int main(){

    // getcwd: 获取当前的 "工作目录"

    //char buf[200] = {0};
    //getcwd(buf, sizeof(buf));
    //printf("buf: %s \n", buf);

    //char buf[200] = {0};
    //char * str = getcwd(buf, sizeof(buf));
    //ERROR_CHECK(str, NULL, "getcwd");
    //printf("buf: %s, %s  \n", buf, str);


    char *str = getcwd(NULL, 0);
    printf("str: %s \n", str);

    free(str);


    return 0;
}

